package com.migo.service;

import com.migo.entity.OpeningAdvertisementEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2018-10-29 14:29:47
 */
public interface OpeningAdvertisementService {
	
	OpeningAdvertisementEntity queryObject(Long id);
	
	List<OpeningAdvertisementEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(OpeningAdvertisementEntity openingAdvertisement);
	
	void update(OpeningAdvertisementEntity openingAdvertisement);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	/**
	 * 获取开屏广告
	 * @param params
	 * @return
	 */
	OpeningAdvertisementEntity queryOpeningImage(Map<String,Object> params);
}
